home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 6247 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: grafix.xs4all.nl!john.hendrikx
  2. Date: Wed, 14 Feb 96 01:44:56 GMT+1
  3. Newsgroups: comp.sys.amiga.misc
  4. Distribution: world
  5. Subject: Re: MUI 3.2
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=iso-8859-1
  8. Content-Transfer-Encoding: 8bit
  9. From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
  10. Message-ID: <john.hendrikx.4ebh@grafix.xs4all.nl>
  11. Organization: Grafix Attack BBS Holland
  12.  
  13. In a message of 11 Feb 96 Paul Copsey wrote to All:
  14.  
  15.  >>  CM> I agree. When I really looked, my ENV: was using up 600k. I have now
  16.  
  17.  >> 600 kilobytes?  Could you please send me a LIST of your ENV dir?  I'm
  18.  >> REALLY interested to see what stuff is in there.  My ENV dir is 20000
  19.  >> bytes, containing 73 files and 11 directories.  The MUI part is less than
  20.  >> 3K.  The largest file ENV: contained was 1146 bytes.
  21.  
  22.  PC> My env: contains 33226 bytes of files, but actually uses 138240 bytes
  23.  PC> because of the way filesystems work. If I had Env: in Ram: (I use
  24.  
  25. RAM uses its own filesystem, it doesn't use FFS or something like that.
  26.  
  27. Try writing a 10 byte file to RAM and use Avail to see how much space was used.
  28.  You'll find that it takes between 100-200 bytes to do this.  A larger file
  29. (say 100 bytes) will take 200-300 bytes.  The overhead for the file-header is
  30. about 150 bytes (a 30 char name, a 80 char comment, and some other stuff).
  31.  
  32.  PC> statram, which has a block size of 512, as opposed to Ram:'s 1024) then
  33.  PC> env: would swallow 247808 bytes.
  34.  
  35. RAM doesn't actually use 1K blocks, some programs just 'think' that it does
  36. because they would probably crash if RAM told them that it doesn't use "blocks"
  37. at all.
  38.  
  39.  PC> Even a 1 byte file in ram: will take 1k to store.
  40.  
  41. Not on my system (Kick 3.0).  Have you actually verified this or did you just
  42. assume that it does?
  43.  
  44. There is something strange though, if you create a file of 0 bytes then it
  45. takes 1K to store on RAM.  A 1 byte file however will only take 100-200
  46. bytes...  try it.
  47.  
  48. Grtz John
  49. -- Via Xenolink 1.985B5, XenolinkUUCP 1.1
  50.